package com.jindy.module.oaTransApproval.service;

import java.util.List;

import com.jindy.module.oaReceiveApproval.domain.SyOaReceive;
import com.jindy.module.oaTransApproval.domain.SyOaTrans;

/**
 * 调岗审批Service接口
 * 
 * @author jindy
 * @date 2023-06-13
 */
public interface ISyOaTransService 
{
    /**
     * 查询调岗审批
     * 
     * @param id 调岗审批主键
     * @return 调岗审批
     */
    public SyOaTrans selectSyOaTransById(Long id);

    /**
     * 查询调岗审批列表
     * 
     * @param syOaTrans 调岗审批
     * @return 调岗审批集合
     */
    public List<SyOaTrans> selectSyOaTransList(SyOaTrans syOaTrans);

    /**
     * 新增调岗审批
     * 
     * @param syOaTrans 调岗审批
     * @return 结果
     */
    public int insertSyOaTrans(SyOaTrans syOaTrans);

    /**
     * 修改调岗审批
     * 
     * @param syOaTrans 调岗审批
     * @return 结果
     */
    public int updateSyOaTrans(SyOaTrans syOaTrans);

    /**
     * 批量删除调岗审批
     * 
     * @param ids 需要删除的调岗审批主键集合
     * @return 结果
     */
    public int deleteSyOaTransByIds(Long[] ids);

    /**
     * 删除调岗审批信息
     * 
     * @param id 调岗审批主键
     * @return 结果
     */
    public int deleteSyOaTransById(Long id);

    /**
     * 提交申请
     * @param syOaTrans
     */
    void submitApply(SyOaTrans syOaTrans) throws Exception;
}
